program sql2l;

{$mode objfpc}{$H+}
{$codepage utf8}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Interfaces, // this includes the LCL widgetset
  Forms, Unit1, pdopackage, ConnectionWindow
  { you can add units after this };

{$R *.res}

begin

  Application.Initialize;
  if (paramcount = 0) then
  begin
    Application.CreateForm(TForm2, Form2);
  end else
  begin
    Application.CreateForm(TForm1, Form1);
  end;
  Application.Run;
end.
